package test

import simple.entity.Book

class BookTest extends GroovyTestCase {
    void testToString() {
        def bk1 = new Book(catalogNumber: '111', title: 'Grovvy', author: 'K Barclay',publisher: 'pepole')
        def expected = 'Book:111:Grovvy:pepole => by:K Barclay'
        assertToString(bk1,expected)
    }
}
